<template>
  <view>
    <view style="padding: 30rpx;">
      <u-parse :html="content"></u-parse>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      content: ''
    };
  },
  onLoad() {
    this.getdata()
  },
  methods: {
    getdata() {
      uni.showLoading({
        title: ''
      })
      let that = this
      that.$api.yszcpost({

      }).then(res => {
        uni.hideLoading()
        //console.log(res.data.result.contents)
        that.content = res.data.result.contents
      }).catch(err => {
        uni.hideLoading()
      })
    }
  }
}
</script>

<style lang="scss">

</style>